package com.woniu.adopt_web.mapper;

import com.woniu.adopt_web.entity.PetCollection;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface PetCollectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PetCollection record);

    PetCollection selectByPrimaryKey(Integer id);

    List<PetCollection> selectAll();

    int updateByPrimaryKey(PetCollection record);
    PetCollection selectByUidAndPid(@Param("uid") int uid, @Param("pid") int pid);
}